.class public Lcom/estrongs/android/ui/adapter/h;
.super Landroid/widget/BaseAdapter;
.source "ListViewAdapter_Theme.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/ui/adapter/h$e;
    }
.end annotation


# instance fields
.field private a:Landroid/content/Context;

.field private b:Landroid/os/Handler;

.field private c:I

.field private d:Lcom/estrongs/android/pop/app/unlock/h$c;

.field private final e:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/estrongs/android/ui/theme/a;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/os/Handler;)V
    .locals 1

    .line 1
    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    .line 2
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/ui/adapter/h;->e:Ljava/util/List;

    .line 3
    iput-object p1, p0, Lcom/estrongs/android/ui/adapter/h;->a:Landroid/content/Context;

    .line 4
    iput-object p2, p0, Lcom/estrongs/android/ui/adapter/h;->b:Landroid/os/Handler;

    const/4 p1, 0x0

    .line 5
    iput p1, p0, Lcom/estrongs/android/ui/adapter/h;->c:I

    .line 6
    invoke-direct {p0}, Lcom/estrongs/android/ui/adapter/h;->c()V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/ui/adapter/h;)Landroid/content/Context;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/adapter/h;->a:Landroid/content/Context;

    return-object p0
.end method

.method private a(II)V
    .locals 1

    .line 38
    new-instance v0, Landroid/os/Message;

    invoke-direct {v0}, Landroid/os/Message;-><init>()V

    .line 39
    iput p1, v0, Landroid/os/Message;->what:I

    .line 40
    iput p2, v0, Landroid/os/Message;->arg1:I

    .line 41
    iget-object p1, p0, Lcom/estrongs/android/ui/adapter/h;->b:Landroid/os/Handler;

    if-eqz p1, :cond_0

    .line 42
    invoke-virtual {p1, v0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    :cond_0
    return-void
.end method

.method private a(ILcom/estrongs/android/ui/adapter/h$e;Lcom/estrongs/android/ui/theme/a;ZZLandroid/view/View;)V
    .locals 2

    const/16 v0, 0x8

    const/4 v1, 0x0

    if-eqz p4, :cond_1

    if-eqz p5, :cond_1

    .line 24
    iget-object p3, p2, Lcom/estrongs/android/ui/adapter/h$e;->c:Landroid/widget/Button;

    invoke-virtual {p3, v0}, Landroid/widget/Button;->setVisibility(I)V

    .line 25
    iget-object p3, p2, Lcom/estrongs/android/ui/adapter/h$e;->d:Landroid/widget/CheckBox;

    invoke-virtual {p3, v1}, Landroid/widget/CheckBox;->setVisibility(I)V

    .line 26
    iget-object p3, p2, Lcom/estrongs/android/ui/adapter/h$e;->d:Landroid/widget/CheckBox;

    iget p4, p0, Lcom/estrongs/android/ui/adapter/h;->c:I

    if-ne p4, p1, :cond_0

    const/4 v1, 0x1

    :cond_0
    invoke-virtual {p3, v1}, Landroid/widget/CheckBox;->setChecked(Z)V

    .line 27
    iget-object p2, p2, Lcom/estrongs/android/ui/adapter/h$e;->a:Landroid/widget/LinearLayout;

    new-instance p3, Lcom/estrongs/android/ui/adapter/h$c;

    invoke-direct {p3, p0, p1}, Lcom/estrongs/android/ui/adapter/h$c;-><init>(Lcom/estrongs/android/ui/adapter/h;I)V

    invoke-virtual {p2, p3}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto :goto_1

    .line 28
    :cond_1
    iget-object p1, p2, Lcom/estrongs/android/ui/adapter/h$e;->c:Landroid/widget/Button;

    invoke-virtual {p1, v1}, Landroid/widget/Button;->setVisibility(I)V

    if-eqz p4, :cond_2

    .line 29
    iget-object p1, p2, Lcom/estrongs/android/ui/adapter/h$e;->c:Landroid/widget/Button;

    iget-object p4, p0, Lcom/estrongs/android/ui/adapter/h;->a:Landroid/content/Context;

    const p5, 0x7f110a6f

    invoke-virtual {p4, p5}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p4

    invoke-virtual {p1, p4}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    .line 30
    :cond_2
    new-instance p1, Ljava/io/File;

    new-instance p4, Ljava/lang/StringBuilder;

    invoke-direct {p4}, Ljava/lang/StringBuilder;-><init>()V

    .line 31
    invoke-virtual {p3}, Lcom/estrongs/android/ui/theme/a;->h()Ljava/lang/String;

    move-result-object p5

    invoke-virtual {p4, p5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object p5, p3, Lcom/estrongs/android/ui/theme/a;->a:Ljava/lang/String;

    invoke-virtual {p4, p5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget p5, p3, Lcom/estrongs/android/ui/theme/a;->e:I

    invoke-virtual {p4, p5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string p5, ".apk"

    invoke-virtual {p4, p5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p4

    invoke-direct {p1, p4}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 32
    invoke-virtual {p1}, Ljava/io/File;->exists()Z

    move-result p1

    if-eqz p1, :cond_3

    .line 33
    iget-object p1, p2, Lcom/estrongs/android/ui/adapter/h$e;->c:Landroid/widget/Button;

    iget-object p4, p0, Lcom/estrongs/android/ui/adapter/h;->a:Landroid/content/Context;

    const p5, 0x7f1101dc

    invoke-virtual {p4, p5}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p4

    invoke-virtual {p1, p4}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    .line 34
    :cond_3
    iget-object p1, p2, Lcom/estrongs/android/ui/adapter/h$e;->c:Landroid/widget/Button;

    iget-object p4, p0, Lcom/estrongs/android/ui/adapter/h;->a:Landroid/content/Context;

    const p5, 0x7f110041

    invoke-virtual {p4, p5}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p4

    invoke-virtual {p1, p4}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    .line 35
    :goto_0
    iget-object p1, p2, Lcom/estrongs/android/ui/adapter/h$e;->d:Landroid/widget/CheckBox;

    invoke-virtual {p1, v0}, Landroid/widget/CheckBox;->setVisibility(I)V

    .line 36
    iget-object p1, p2, Lcom/estrongs/android/ui/adapter/h$e;->c:Landroid/widget/Button;

    new-instance p2, Lcom/estrongs/android/ui/adapter/h$d;

    invoke-direct {p2, p0, p3}, Lcom/estrongs/android/ui/adapter/h$d;-><init>(Lcom/estrongs/android/ui/adapter/h;Lcom/estrongs/android/ui/theme/a;)V

    invoke-virtual {p1, p2}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    :goto_1
    const/4 p1, 0x0

    .line 37
    invoke-virtual {p6, p1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method static synthetic b(Lcom/estrongs/android/ui/adapter/h;)Landroid/os/Handler;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/adapter/h;->b:Landroid/os/Handler;

    return-object p0
.end method

.method private c()V
    .locals 2

    .line 1
    new-instance v0, Lcom/estrongs/android/ui/adapter/h$a;

    invoke-direct {v0, p0}, Lcom/estrongs/android/ui/adapter/h$a;-><init>(Lcom/estrongs/android/ui/adapter/h;)V

    iput-object v0, p0, Lcom/estrongs/android/ui/adapter/h;->d:Lcom/estrongs/android/pop/app/unlock/h$c;

    .line 2
    invoke-static {}, Lcom/estrongs/android/pop/app/unlock/h;->d()Lcom/estrongs/android/pop/app/unlock/h;

    move-result-object v0

    iget-object v1, p0, Lcom/estrongs/android/ui/adapter/h;->d:Lcom/estrongs/android/pop/app/unlock/h$c;

    invoke-virtual {v0, v1}, Lcom/estrongs/android/pop/app/unlock/h;->a(Lcom/estrongs/android/pop/app/unlock/h$c;)V

    return-void
.end method


# virtual methods
.method public a()I
    .locals 1

    .line 12
    iget v0, p0, Lcom/estrongs/android/ui/adapter/h;->c:I

    return v0
.end method

.method public a(I)V
    .locals 1

    .line 6
    iput p1, p0, Lcom/estrongs/android/ui/adapter/h;->c:I

    const/4 v0, 0x1

    .line 7
    invoke-direct {p0, v0, p1}, Lcom/estrongs/android/ui/adapter/h;->a(II)V

    return-void
.end method

.method public a(Lcom/estrongs/android/ui/adapter/h$e;Landroid/view/View;Ljava/lang/String;)V
    .locals 4

    .line 13
    new-instance v0, Lcom/estrongs/android/pop/app/unlock/h$b;

    invoke-direct {v0}, Lcom/estrongs/android/pop/app/unlock/h$b;-><init>()V

    .line 14
    iget-object v1, p0, Lcom/estrongs/android/ui/adapter/h;->a:Landroid/content/Context;

    invoke-virtual {v0, v1}, Lcom/estrongs/android/pop/app/unlock/h$b;->a(Landroid/content/Context;)Lcom/estrongs/android/pop/app/unlock/h$b;

    .line 15
    invoke-virtual {v0, p3}, Lcom/estrongs/android/pop/app/unlock/h$b;->a(Ljava/lang/String;)Lcom/estrongs/android/pop/app/unlock/h$b;

    const/4 v1, 0x2

    new-array v1, v1, [Ljava/lang/String;

    const/4 v2, 0x0

    const-string v3, "theme"

    aput-object v3, v1, v2

    const/4 v2, 0x1

    aput-object p3, v1, v2

    .line 16
    invoke-static {v1}, Lcom/estrongs/android/statistics/TraceRoute;->create([Ljava/lang/String;)Lcom/estrongs/android/statistics/TraceRoute;

    move-result-object p3

    invoke-virtual {v0, p3}, Lcom/estrongs/android/pop/app/unlock/h$b;->a(Lcom/estrongs/android/statistics/TraceRoute;)Lcom/estrongs/android/pop/app/unlock/h$b;

    const-string p3, "unlock_theme"

    .line 17
    invoke-virtual {v0, p3}, Lcom/estrongs/android/pop/app/unlock/h$b;->b(Ljava/lang/String;)Lcom/estrongs/android/pop/app/unlock/h$b;

    new-instance p3, Lcom/estrongs/android/ui/adapter/h$b;

    invoke-direct {p3, p0}, Lcom/estrongs/android/ui/adapter/h$b;-><init>(Lcom/estrongs/android/ui/adapter/h;)V

    .line 18
    invoke-virtual {v0, p3}, Lcom/estrongs/android/pop/app/unlock/h$b;->a(Ljava/lang/Object;)Lcom/estrongs/android/pop/app/unlock/h$b;

    .line 19
    invoke-virtual {v0, v2}, Lcom/estrongs/android/pop/app/unlock/h$b;->b(Z)V

    .line 20
    invoke-static {}, Lcom/estrongs/android/pop/app/unlock/h;->d()Lcom/estrongs/android/pop/app/unlock/h;

    move-result-object p3

    invoke-virtual {p3, v0}, Lcom/estrongs/android/pop/app/unlock/h;->a(Lcom/estrongs/android/pop/app/unlock/h$b;)Ljava/lang/Object;

    move-result-object p3

    check-cast p3, Landroid/view/View$OnClickListener;

    .line 21
    invoke-virtual {p2, p3}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 22
    iget-object p2, p1, Lcom/estrongs/android/ui/adapter/h$e;->c:Landroid/widget/Button;

    invoke-virtual {p2, p3}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 23
    iget-object p1, p1, Lcom/estrongs/android/ui/adapter/h$e;->c:Landroid/widget/Button;

    iget-object p2, p0, Lcom/estrongs/android/ui/adapter/h;->a:Landroid/content/Context;

    invoke-virtual {p2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object p2

    const p3, 0x7f110b07

    invoke-virtual {p2, p3}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object p2

    invoke-virtual {p1, p2}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method

.method public a(Ljava/lang/String;)V
    .locals 3

    const/4 v0, 0x0

    .line 8
    :goto_0
    invoke-virtual {p0}, Lcom/estrongs/android/ui/adapter/h;->getCount()I

    move-result v1

    const/4 v2, -0x1

    if-ge v0, v1, :cond_1

    .line 9
    invoke-virtual {p0, v0}, Lcom/estrongs/android/ui/adapter/h;->getItem(I)Lcom/estrongs/android/ui/theme/a;

    move-result-object v1

    if-eqz v1, :cond_0

    .line 10
    iget-object v1, v1, Lcom/estrongs/android/ui/theme/a;->a:Ljava/lang/String;

    invoke-virtual {v1, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    goto :goto_1

    :cond_0
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_1
    const/4 v0, -0x1

    :goto_1
    if-eq v0, v2, :cond_2

    .line 11
    invoke-virtual {p0, v0}, Lcom/estrongs/android/ui/adapter/h;->a(I)V

    :cond_2
    return-void
.end method

.method public a(Ljava/util/List;I)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/estrongs/android/ui/theme/a;",
            ">;I)V"
        }
    .end annotation

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/adapter/h;->e:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/ui/adapter/h;->e:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    .line 4
    iput p2, p0, Lcom/estrongs/android/ui/adapter/h;->c:I

    .line 5
    invoke-virtual {p0}, Landroid/widget/BaseAdapter;->notifyDataSetChanged()V

    return-void
.end method

.method public b()V
    .locals 2

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/adapter/h;->d:Lcom/estrongs/android/pop/app/unlock/h$c;

    if-eqz v0, :cond_0

    .line 3
    invoke-static {}, Lcom/estrongs/android/pop/app/unlock/h;->d()Lcom/estrongs/android/pop/app/unlock/h;

    move-result-object v0

    iget-object v1, p0, Lcom/estrongs/android/ui/adapter/h;->d:Lcom/estrongs/android/pop/app/unlock/h$c;

    invoke-virtual {v0, v1}, Lcom/estrongs/android/pop/app/unlock/h;->b(Lcom/estrongs/android/pop/app/unlock/h$c;)V

    :cond_0
    return-void
.end method

.method public getCount()I
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/adapter/h;->e:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    return v0
.end method

.method public getItem(I)Lcom/estrongs/android/ui/theme/a;
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/adapter/h;->e:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/estrongs/android/ui/theme/a;

    return-object p1
.end method

.method public bridge synthetic getItem(I)Ljava/lang/Object;
    .locals 0

    .line 1
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/adapter/h;->getItem(I)Lcom/estrongs/android/ui/theme/a;

    move-result-object p1

    return-object p1
.end method

.method public getItemId(I)J
    .locals 2

    const-wide/16 v0, 0x0

    return-wide v0
.end method

.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 9

    const/4 p3, 0x0

    if-nez p2, :cond_0

    .line 1
    iget-object p2, p0, Lcom/estrongs/android/ui/adapter/h;->a:Landroid/content/Context;

    invoke-static {p2}, Lcom/estrongs/android/pop/esclasses/h;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object p2

    const v0, 0x7f0c031e

    invoke-virtual {p2, v0, p3}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p2

    .line 2
    new-instance v0, Lcom/estrongs/android/ui/adapter/h$e;

    invoke-direct {v0, p0}, Lcom/estrongs/android/ui/adapter/h$e;-><init>(Lcom/estrongs/android/ui/adapter/h;)V

    const v1, 0x7f090b79

    .line 3
    invoke-virtual {p2, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    iput-object v1, v0, Lcom/estrongs/android/ui/adapter/h$e;->a:Landroid/widget/LinearLayout;

    const v1, 0x7f0901ae

    .line 4
    invoke-virtual {p2, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/Button;

    iput-object v1, v0, Lcom/estrongs/android/ui/adapter/h$e;->c:Landroid/widget/Button;

    const v1, 0x7f090b7a

    .line 5
    invoke-virtual {p2, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, v0, Lcom/estrongs/android/ui/adapter/h$e;->b:Landroid/widget/ImageView;

    const v1, 0x7f0901e7

    .line 6
    invoke-virtual {p2, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/CheckBox;

    iput-object v1, v0, Lcom/estrongs/android/ui/adapter/h$e;->d:Landroid/widget/CheckBox;

    const v1, 0x7f090d12

    .line 7
    invoke-virtual {p2, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    iput-object v2, v0, Lcom/estrongs/android/ui/adapter/h$e;->e:Landroid/widget/TextView;

    .line 8
    invoke-virtual {p2, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, v0, Lcom/estrongs/android/ui/adapter/h$e;->e:Landroid/widget/TextView;

    const v1, 0x7f090b76

    .line 9
    invoke-virtual {p2, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ProgressBar;

    iput-object v1, v0, Lcom/estrongs/android/ui/adapter/h$e;->f:Landroid/widget/ProgressBar;

    .line 10
    invoke-virtual {p2, v0}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    goto :goto_0

    .line 11
    :cond_0
    invoke-virtual {p2}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/ui/adapter/h$e;

    .line 12
    :goto_0
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/adapter/h;->getItem(I)Lcom/estrongs/android/ui/theme/a;

    move-result-object v8

    if-nez v8, :cond_1

    return-object p3

    .line 13
    :cond_1
    iget-object v1, p0, Lcom/estrongs/android/ui/adapter/h;->a:Landroid/content/Context;

    invoke-virtual {v8, v1}, Lcom/estrongs/android/ui/theme/a;->c(Landroid/content/Context;)Z

    move-result v5

    const/4 v1, 0x1

    if-eqz p1, :cond_4

    if-nez v5, :cond_2

    goto :goto_1

    .line 14
    :cond_2
    iget-object v2, p0, Lcom/estrongs/android/ui/adapter/h;->a:Landroid/content/Context;

    invoke-virtual {v2}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v2

    .line 15
    :try_start_0
    iget-object v3, v8, Lcom/estrongs/android/ui/theme/a;->a:Ljava/lang/String;

    const/4 v4, 0x0

    invoke-virtual {v2, v3, v4}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;

    move-result-object v2

    .line 16
    iget v2, v2, Landroid/content/pm/PackageInfo;->versionCode:I

    invoke-static {}, Lcom/estrongs/android/pop/a;->a()I

    move-result v3
    :try_end_0
    .catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_0 .. :try_end_0} :catch_0

    if-lt v2, v3, :cond_3

    const/4 v4, 0x1

    :cond_3
    move v6, v4

    goto :goto_2

    :catch_0
    :cond_4
    :goto_1
    const/4 v6, 0x1

    :goto_2
    if-eqz v5, :cond_5

    .line 17
    iget-object v2, p0, Lcom/estrongs/android/ui/adapter/h;->a:Landroid/content/Context;

    invoke-virtual {v2}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v2

    iget-object v3, v8, Lcom/estrongs/android/ui/theme/a;->a:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_5

    .line 18
    invoke-virtual {v8}, Lcom/estrongs/android/ui/theme/a;->a()V

    :cond_5
    if-nez p1, :cond_6

    move-object v1, p0

    move v2, p1

    move-object v3, v0

    move-object v4, v8

    move-object v7, p2

    .line 19
    invoke-direct/range {v1 .. v7}, Lcom/estrongs/android/ui/adapter/h;->a(ILcom/estrongs/android/ui/adapter/h$e;Lcom/estrongs/android/ui/theme/a;ZZLandroid/view/View;)V

    goto :goto_3

    .line 20
    :cond_6
    iget-object v2, v8, Lcom/estrongs/android/ui/theme/a;->v:Ljava/lang/String;

    invoke-static {v2, v1}, Lcom/estrongs/android/pop/app/unlock/i;->a(Ljava/lang/String;Z)Z

    move-result v1

    if-eqz v1, :cond_7

    .line 21
    iget-object v1, v8, Lcom/estrongs/android/ui/theme/a;->v:Ljava/lang/String;

    invoke-virtual {p0, v0, p2, v1}, Lcom/estrongs/android/ui/adapter/h;->a(Lcom/estrongs/android/ui/adapter/h$e;Landroid/view/View;Ljava/lang/String;)V

    goto :goto_3

    :cond_7
    move-object v1, p0

    move v2, p1

    move-object v3, v0

    move-object v4, v8

    move-object v7, p2

    .line 22
    invoke-direct/range {v1 .. v7}, Lcom/estrongs/android/ui/adapter/h;->a(ILcom/estrongs/android/ui/adapter/h$e;Lcom/estrongs/android/ui/theme/a;ZZLandroid/view/View;)V

    :goto_3
    if-gtz p1, :cond_8

    .line 23
    iget-object p1, v0, Lcom/estrongs/android/ui/adapter/h$e;->b:Landroid/widget/ImageView;

    const v1, 0x7f080619

    invoke-virtual {p1, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_4

    .line 24
    :cond_8
    iget-object p1, p0, Lcom/estrongs/android/ui/adapter/h;->a:Landroid/content/Context;

    iget-object v1, p0, Lcom/estrongs/android/ui/adapter/h;->b:Landroid/os/Handler;

    invoke-virtual {v8, p1, v1}, Lcom/estrongs/android/ui/theme/a;->b(Landroid/content/Context;Landroid/os/Handler;)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    if-eqz p1, :cond_9

    .line 25
    iget-object v1, v0, Lcom/estrongs/android/ui/adapter/h$e;->b:Landroid/widget/ImageView;

    invoke-virtual {v1, p1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    goto :goto_4

    .line 26
    :cond_9
    iget-object p1, v0, Lcom/estrongs/android/ui/adapter/h$e;->b:Landroid/widget/ImageView;

    const v1, 0x7f08018d

    invoke-virtual {p1, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 27
    :goto_4
    iget-object p1, v0, Lcom/estrongs/android/ui/adapter/h$e;->e:Landroid/widget/TextView;

    iget-object v1, v8, Lcom/estrongs/android/ui/theme/a;->b:Ljava/lang/String;

    invoke-virtual {p1, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 28
    iget-object p1, v0, Lcom/estrongs/android/ui/adapter/h$e;->f:Landroid/widget/ProgressBar;

    invoke-virtual {v8, p1}, Lcom/estrongs/android/ui/theme/a;->a(Landroid/widget/ProgressBar;)V

    .line 29
    iget-object p1, v0, Lcom/estrongs/android/ui/adapter/h$e;->c:Landroid/widget/Button;

    invoke-virtual {v8, p1}, Lcom/estrongs/android/ui/theme/a;->a(Landroid/widget/Button;)V

    .line 30
    iget-object p1, v0, Lcom/estrongs/android/ui/adapter/h$e;->e:Landroid/widget/TextView;

    invoke-virtual {p1, p3, p3, p3, p3}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    return-object p2
.end method
